package com.szp.spCloud.gatewayService.feign;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;

@FeignClient(name="user-service")
public interface TokenFeignClient {
    @RequestMapping("/api/user/info/{token}")
    public String info(@PathVariable(value="token")String token);
}
